package com.myHospital.dao;

import com.myHospital.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface UserRoleDao {
    //加入黑名单
    int addBlacklist(int id);
    //获得黑名单
    List<User> getBlacklist();
    //从黑名单删除
    int deleteBlacklist(int id);
    //添加管理员
    int addAdmin(int id,int role);

    int deleteAdmin(int id);
}